﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Doi.Master" AutoEventWireup="true" CodeBehind="ThemThanhVien.aspx.cs" Inherits="GroupManager.ThemThanhVien" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <style>
        .DontShowListSearchPrompt {
            display: none;
        }
    </style>
    <h2>Thêm Thành Viên vào đội</h2>
    <fieldset>
        <legend>Thêm Thành Viên</legend>
        <label>Mã sinh viên:</label>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <asp:TextBox ID="txtMaSV" MaxLength="15" runat="server" AutoPostBack="true" OnTextChanged="txtMaSV_TextChanged"></asp:TextBox>
            </ContentTemplate>
        </asp:UpdatePanel>
        <label>Họ tên:</label>
        <asp:TextBox ID="txtHoTen" runat="server"></asp:TextBox>
        <label>Ngày sinh:</label>
        <asp:DropDownList ID="drlNgay" runat="server"></asp:DropDownList>
        <label>Tháng sinh:</label>
        <asp:DropDownList ID="drlThang" runat="server"></asp:DropDownList>
        <label>Năm sinh:</label>
        <asp:DropDownList ID="drlNam" runat="server"></asp:DropDownList>
        <label>Giới tính:</label>
        <asp:RadioButtonList ID="RadioButtonList1" runat="server">
            <asp:ListItem>Nam</asp:ListItem>
            <asp:ListItem>Nữ</asp:ListItem>
        </asp:RadioButtonList>
        <label>Lớp:</label>
        <asp:TextBox ID="txtLop" runat="server"></asp:TextBox>
        <label>Khóa:</label>
        <asp:TextBox ID="txtKhoa" runat="server"></asp:TextBox>
        <label>Trường:</label>
        <asp:TextBox ID="txtTruong" runat="server"></asp:TextBox>
        <label>Số điện thoại:</label>
        <asp:TextBox ID="txtSoDienThoai" runat="server"></asp:TextBox>
        <label>Email:</label>
        <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
        <label>Nhóm máu:</label>
        <asp:DropDownList ID="drlNhomMau" runat="server"></asp:DropDownList>
        <label>Sở trường:</label>
        <asp:TextBox ID="txtSoTruong" runat="server"></asp:TextBox>
        <label>Sở đoản:</label>
        <asp:TextBox ID="txtSoDoan" runat="server"></asp:TextBox>
        <label>Hoàn cảnh:</label>
        <asp:TextBox ID="txtHoanCanh" runat="server"></asp:TextBox>
        <label>Ghi chú khác:</label>
        <asp:TextBox ID="txtGhiChu" runat="server"></asp:TextBox>
        <label>Quê quán:</label>
        <asp:ListSearchExtender ID="ListSearchExtender1" runat="server"
            TargetControlID="lstQueQuan"
            PromptPosition="Top"
            PromptCssClass="DontShowListSearchPrompt">
        </asp:ListSearchExtender>
        <asp:ListBox ID="lstQueQuan" runat="server"></asp:ListBox>

        <label>Facebook:</label>
        <asp:TextBox ID="txtFacebook" runat="server"></asp:TextBox>

        <label>Ảnh:</label>
        <asp:FileUpload ID="fluAnh" runat="server" />
        <div class="new-btn">
            <asp:Button ID="btThem" runat="server" Text="Thêm" OnClick="btThem_Click" />
            <asp:Button ID="btXoa" runat="server" Text="Xóa trắng" OnClick="btXoa_Click" />
        </div>
    </fieldset>
</asp:Content>
